<template>
	<view class="content">
		<view class="index">
			<image src="/static/logo.png" mode="widthFix" @longpress="goTest" ></image>
			<view class="index_text">嗨小律</view>
			<view class="index_version">v{{version}}</view>
		</view>
		<view class="read">
			<text @click="go($store.state.agreementList.user)">《用户协议》</text><text @click="go($store.state.agreementList.provacy)">《隐私政策》</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				version: ''
			}
		},
		onLoad() {
			var data = uni.getStorageSync('config')
			// #ifdef APP-PLUS
				this.version = plus.runtime.version
			// #endif
			
		},
		methods: {
			go(e) {
				plus.runtime.openWeb(e)
			},
			goTest() {
				console.log(1);
				uni.navigateTo({
					url: "/packageA/pages/testPage/testPage"
				})
			}
			
		},
	}
</script>

<style>
	page{
		background-color: #fff;
	}
</style>
<style lang="scss" scoped>
	@import 'aboutus.scss';
</style>